Segfaulted when invalid math operator was given

Signed-off-by: nixnodes <code@nixnodes.net>