Made the bg_check status code look better in code