Added checks to prevent illogical motor values