Added check to catch addresses with invalid status flag