set position to default value if POST request don't have position argume...

...nt

TNL-922
@waheedahmed @adampalay @rocha 
if you change this line to `position_string = data.get('position', '1')`, then you can avoid the type checking in the next line and just have `position_string.is_digit() and int(position_string) > 0`