Small bug in refreshonly condition, needs to be an OR