@TheCycoONE: "Haven't tested this, but what happens if the west or north tile is not available now?"
 I've fixed this issue by changing this if condition to check that the west tile is accessible, if it isn't then the north tile will be.