Fixed canBuildSettlement error

Fixed canBuildSettlement error that happened with an edge case.