Prevent random() from being pushed past joins