Handling corner cases with no valid markers and invalid data on DB.