Fixing call to nextval
Removing redundant tables