A 5 gallon tank does give big changes when surrounding air temp varies, and these small heaters...more so cheap designs have a wide spread range...in your case 5 degrees. I can only offer you suggestions that I would apply for myself if in your situation...Here is a choice...wrap the tank (especally at night) in towels or blanket...it will take longer but the temp will still shift over time. And I would consider a new heater with a little more power...not because your choice was wrong, but because more Watts tend to provide closer on-off cycle time and it would heat up quickly so again reduce some time spread. I personally don't know enough about
invertebrates to know their tolerance to temperature variations...but sure it cannot be comfortable for them. I'm trying to help but being careful hope you understand. PP