Check for next as well as master.