Hopefully fix check ahead logic

Still need to teach Mario