Ajmer to Bangalore ticket is most of the time full. You have many train from Ahmedabad to Bangalore therefore Ahmedabad to bangalore quota is most of the time not utilize. Same case for Ajmer to Ahmedabad.
Book 2 ticket in same train..one from Ajmer to Ahmebabad and another one from Ahmedabad to Bangalore