If your 2018 rejected you will have to print and mail it now. It probably rejected for the AGI since you filed 2017 late. You should have used 0 for the AGI to efile 2018.
Since 2018 rejected you need to use 0 for the AGI to efile 2019.
Don't understand about your amounts being switched.