Before going to DB, check if it can go forward

#96