Corrected emptybox logic and now shows records on overlay