MOB-1785 Upload custom marker

How about using more strict operators here and in line `19`?