improve birthday queries